Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix A - The Language at a Glance


Constants

Table A-10 lists constants defined by AppleScript.

As with all other identifiers, constants are not case sensitive. For example, false, False, and FALSE are all treated as the same constant.
Constants defined by AppleScript
IdentifierMeaning
Attributes specified in Considering and Ignoring statements
application
responses

 

If ignored, AppleScript doesn't wait for responses from application commands before proceeding to the next statement in a script and ignores any results or errors returned.
 
caseIf considered, AppleScript distinguishes uppercase letters from lowercase.
diacriticalsIf ignored, AppleScript ignores diacritical marks in
string comparisons.
expansionIf ignored, AppleScript treats the characters æ, -->, œ, and Œ as single characters and thus not equal to the character pairs ae, AE, oe, and OE.
hyphensIf ignored, AppleScript ignores hyphens in string comparisons
punctuationIf ignored, AppleScript ignores punctuation marks in string comparisons.
white spaceIf ignored, AppleScript ignores spaces, tab characters, and return characters in string comparisons.
Text styles
all capsAll caps
all lowercaseAll lowercase
boldBoldface
condensedCondensed
expandedExpanded
hiddenHidden
italicItalic
outlineOutline
plainPlain text
shadowShadow
small capsSmall caps
strikethroughStrikethrough
subscriptSubscript
 
superscriptSuperscript
underlineUnderline
Save options
askAsk user whether to save modified object or objects.
noDon't save modified object or objects.
yesSave modified object or objects.
Alignment
centerCentered
fullJustified
leftFlush left
rightFlush right
Boolean constants
falseThe Boolean false value.
trueThe Boolean true value.
Miscellaneous 
current
application
Either the default target application or whatever application is currently set as a script's parent property.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996